package com.example.rabc.service;

import com.example.rabc.entity.Product;

import java.util.List;

public interface ProductService {
    Product createProduct(Product product);
    Product updateProduct(Long productId, Product product);
    void deleteProduct(Long productId);
    Product getProductById(Long productId);
    Product getProductByCode(String productCode);
    List<Product> getAllProducts();
    List<Product> getAvailableProducts();
}